package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:19
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysModuleAccessLogDAO extends IDataAccessInterface<SysModuleAccessLog, SysModuleAccessLogDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_MODULE_ACCESS_LOG";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_MODULE_ACCESS_LOG.ID";

    /**
     * Mapped Field MODULE_ID
    */
    static final String ModuleId = "SYS_MODULE_ACCESS_LOG.MODULE_ID";

    /**
     * Mapped Field USER_ID
    */
    static final String UserId = "SYS_MODULE_ACCESS_LOG.USER_ID";

    /**
     * Mapped Field SESSION_ID
    */
    static final String SessionId = "SYS_MODULE_ACCESS_LOG.SESSION_ID";

    /**
     * Mapped Field ACCESS_TIME
    */
    static final String AccessTime = "SYS_MODULE_ACCESS_LOG.ACCESS_TIME";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "SYS_MODULE_ACCESS_LOG.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "SYS_MODULE_ACCESS_LOG.REMARKS";

    /**
     * Mapped Attribute moduleName
    */
    static final String ModuleName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysModuleDAO.ModuleName,
            com.ourteam.system.dao.ISysModuleDAO.EntityName + ".", "SYS_MODULE.");

    /**
     * Mapped Attribute domainId
    */
    static final String DomainId = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysModuleDAO.DomainId,
            com.ourteam.system.dao.ISysModuleDAO.EntityName + ".", "SYS_MODULE.");

    /**
     * Mapped Attribute domainName
    */
    static final String DomainName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysDomainDAO.DomainName,
            com.ourteam.system.dao.ISysDomainDAO.EntityName + ".", "SYS_DOMAIN.");

    /**
     * Mapped Attribute userName
    */
    static final String UserName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute loginTime
    */
    static final String LoginTime = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserLoginLogDAO.LoginTime,
            com.ourteam.system.dao.ISysUserLoginLogDAO.EntityName + ".",
            "SYS_USER_LOGIN_LOG.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysModuleAccessLog findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute moduleId
         */
        static final String ModuleId = "moduleId";

        /**
         * Attribute userId
         */
        static final String UserId = "userId";

        /**
         * Attribute sessionId
         */
        static final String SessionId = "sessionId";

        /**
         * Attribute accessTime
         */
        static final String AccessTime = "accessTime";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute domainId
         */
        static final String DomainId = "domainId";

        /**
         * Attribute domainName
         */
        static final String DomainName = "domainName";

        /**
         * Attribute moduleName
         */
        static final String ModuleName = "moduleName";

        /**
         * Attribute userName
         */
        static final String UserName = "userName";

        /**
         * Attribute loginTime
         */
        static final String LoginTime = "loginTime";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
